package day2.Exer;

public class Motor {
    double disp;
    double weight;
    String brand;
    double horsepow;
    public void motorshow(){
        System.out.println("发动机型号："+brand);
        System.out.println("发动机排量："+disp+"T");
        System.out.println("发动机重量："+weight+"Kg");
        System.out.println("发动机马力："+horsepow+"马力");
    }
    public void start(){
        System.out.println("压缩空气");
        System.out.println("雾化汽油");
        System.out.println("点火");
        System.out.println("排废烟");
        System.out.println("启动成功");
    }


}
